package hcn.protocol.ods.newdiagnosis;/**
 * @Auther: Administrator
 * @Date: 2019/4/19 10:24
 * @Description:
 */

import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhusm@bsoft.com.cn
 *
 * @Description: 预结算请求参数
 *
 * @Create: 2019-04-19 10:24
 **/
@NoArgsConstructor
@Data
@Builder
@AllArgsConstructor
@ToString
public class NewGetPrecalculatedFeeVO implements Serializable {

    private static final long serialVersionUID = 8944566054031601734L;

    private double amount;
    private String invoiceNumber;
    private String orgId;
    private String paymentBudgetNumber;
    private double totalFee;
    private double payAmount;
    private double deductionAmount;
    private List<CostItemsBean> mergingItems;
    private List<FeeRecord> feeRecords;
    private List<String> voucherIdList;

    @NoArgsConstructor
    @Builder
    @Data
    @AllArgsConstructor
    @ToString
    public static class CostItemsBean {
        /**
         * projectType : 项目类型（西药费、中药费、检验费、检查费、快递费、待煎费分类）
         * costMerging : 费用归并  string
         * amount : 金额
         */

        private String mergingCode;
        private String mergingName;
        private double mergingSubtotal;
        private double amount;
    }

    @NoArgsConstructor
    @Builder
    @Data
    @AllArgsConstructor
    @ToString
    public static class FeeRecord {
        private String feeNo;
        private String feeTypeCode;
        private String feeTypeName;
    }
}
